<!DOCTYPE html>
<html lang="ru">
<head>
	<title><?php echo View::factory('frontend/snippet/meta.title')->render(); ?></title>
	<meta name="robots" content="index, follow">
	<meta charset="utf-8">
	<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
	<?php if ( ! empty($keywords)): ?><meta name="keywords" content="" /><?php endif; ?>
	<?php if ( ! empty($description)): ?><meta name="description" content="" /><?php endif; ?>
	<link href="/media/css/style.css" rel="stylesheet" />
	
	<!--[if gte IE 9]><style type="text/css">#hmenu ul li strong, #hmenu ul li a { filter: none; }</style><![endif]-->
	<!--[if lt IE 9]><script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script><![endif]-->
	
	<script>
		var mcmf_timeout_default = 1000;
		var mcmf_route_redirect = '<?php echo URL::site(Route::get('redirect')->uri(array('url' => '{url}')), TRUE); ?>';
	</script>
	
	<script src="<?php echo URL::base(TRUE); ?>media/js/func.js"></script>
	<script src="<?php echo URL::base(TRUE); ?>media/js/jquery-1.7.1.min.js"></script>
	
	<link href="<?php echo URL::base(TRUE); ?>media/js/markitup/skins/simple/style.css" rel="stylesheet" />
	<script src="<?php echo URL::base(TRUE); ?>media/js/markitup/jquery.markitup.js"></script>
	<link href="<?php echo URL::base(TRUE); ?>media/js/markitup/sets/bbcode/style.css" rel="stylesheet" />
	<script src="<?php echo URL::base(TRUE); ?>media/js/markitup/sets/bbcode/set.js"></script>
	
	<script src="//loginza.ru/js/widget.js" type="text/javascript"></script>
</head>
<body>
	<div id="header1">
		<div class="wrapper">
			<div id="logo">
				<?php if (Request::current()->route() == Route::get('frontend_home')): ?>
					<img src="<?php echo URL::site('media/img/logo.png', TRUE); ?>" alt="" />
				<?php else: ?>
					<a href="<?php echo URL::base(TRUE); ?>">
						<img src="<?php echo URL::site('media/img/logo.png', TRUE); ?>" alt="" />
					</a>
				<?php endif; ?>
				<div class="fclight fssmall lh1" style="padding-top: 4px; width: 300px;">Клуб автовладельцев Nissan Cedric: руководства к&nbsp;ремонту, запчасти, отзывы и&nbsp;фото.</div>
			</div>
		</div>
	</div>
	<div id="body" class="clearfix">
		<div class="wrapper">
			<?php if ( ! empty($caption)): ?><h1><?php echo $caption; ?></h1><?php endif; ?>
			<?php echo View::factory('frontend/snippet/msg'); ?>
			<?php echo $content; ?>
		</div>
	</div>
	<div id="header2">
		<div class="wrapper">
			<?php echo View::factory('frontend/snippet/upanel'); ?>
			<?php echo View::factory('frontend/menu/header'); ?>
		</div>
	</div>
	<div id="footer">
		<?php echo View::factory('frontend/menu/footer'); ?>
	</div>
	<?php ProfilerToolbar::render(true); ?>
</body>
</html>